home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1994 / MacHack 1994.toast / MacHack™94 / Talks & Papers / Michael D. Crawford↵ / Word Services SDK 1.0.5 / OSL Headers / AEPackObject.h < prev    next >
Text File  |  1991-12-04  |  1KB  |  47 lines

  1. /************************************************************************************
  2.                                             
  3.     ©Apple Computer, Inc.  1991             
  4.           All Rights Reserved.                
  5.  
  6. ************************************************************************************/
  7.  
  8. #ifndef __AEOBJECTPACKING__
  9. #define __AEOBJECTPACKING__
  10.  
  11. #ifndef __APPLEEVENTS__
  12. #include <AppleEvents.h>
  13. #endif
  14.  
  15.  
  16. /* These are the object packing routines.  */
  17.  
  18. pascal OSErr CreateOffsetDescriptor(    long theOffset,
  19.                                         AEDesc *theDescriptor ) ;
  20.  
  21. pascal OSErr CreateCompDescriptor(        DescType comparisonOperator,
  22.                                         AEDesc* operand1,
  23.                                         AEDesc* operand2,
  24.                                         Boolean disposeInputs,
  25.                                         AEDesc* theDescriptor ) ;
  26.                                 
  27. pascal OSErr CreateLogicalDescriptor(    AEDescList *theLogicalTerms,         /* a list of comb and logi terms */
  28.                                         DescType theLogicOperator,             /* the operator, e.g. AND */
  29.                                         Boolean disposeInputs,
  30.                                         AEDesc *theDescriptor ) ; 
  31.  
  32.  
  33. pascal OSErr CreateObjSpecifier(        DescType desiredClass,
  34.                                         AEDesc *theContainer, 
  35.                                         DescType keyForm,
  36.                                         AEDesc *keyData, 
  37.                                         Boolean disposeInputs,
  38.                                         AEDesc *objSpecifier ) ;
  39.                             
  40. pascal OSErr CreateRangeDescriptor(        AEDesc *rangeStart,    
  41.                                         AEDesc *rangeStop,
  42.                                         Boolean disposeInputs,
  43.                                         AEDesc *theDescriptor ) ;
  44.  
  45.  
  46. #endif
  47.